Skip to content

Conversation

@Findus23
Copy link
Collaborator

Fixes #23

It got a bit more than just one change as the old typeahead version didn't support the "all" parameter and the new one works a bit different.

But altogether the search now works as it should and the json file is loaded only once on focus of the search box.

updater: function (item) {
// get text to display in quick search box
var displayText = item;
console.log(item);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably want to remove the console.log

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, I removed it in a163bae and forgot to also do so here.

But keep in mind that this function doesn't exist any more with the full text search in #200 as I am using a maintained fork of twitter bootstrap there, because it's more user friendly (results can be selected with the arrow keys)

@Findus23
Copy link
Collaborator Author

Findus23 commented Feb 5, 2020

Closing in favor of #330

@Findus23 Findus23 closed this Feb 5, 2020
@innocraft-automation innocraft-automation removed this from the Current sprint milestone Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Searching for user guides does not always work

3 participants